package com.google.code.memoriesalbum.controller;

import org.slim3.controller.router.RouterImpl;

/**
 * @author shin1ogawa
 */
public class AppRouter extends RouterImpl {

	/**
	 * the constructor.
	 * @category constructor
	 */
	public AppRouter() {
		super();
		addRouting("/oauth?token={token}", "/oauth/?token={token}");

		addRouting("/adbums/{id}", "/albums/album?id={id}");

		addRouting("/_ah/mail/{address}", "/mail/receive?address={address}");
	}
}
